package cn.cuilan.entity;

import cn.cuilan.base.BaseEntity;

import javax.persistence.Entity;
import java.io.Serializable;

/**
 * 城市表
 *
 * @author zhangyue
 */
@Entity
public class PositionCity extends BaseEntity<Long> implements Serializable {

    /**
     * 城市代码
     */
    private int cityCode;

    /**
     * 城市名称
     */
    private String cityName;

    /**
     * t_position_area(区域表)
     */
    private int areaId;

    public PositionCity() {
    }

    public PositionCity(int cityCode, String cityName, int areaId) {
        this.cityCode = cityCode;
        this.cityName = cityName;
        this.areaId = areaId;
    }

    public int getCityCode() {
        return cityCode;
    }

    public void setCityCode(int cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

}
